package com.neusoft.neuiotms.dcvm.bean;

import java.io.Serializable;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DatabusCommandBean implements Serializable {

    private static final long serialVersionUID = 1L;

    private List<ResourceBean> resourceBean;

    @Getter
    @Setter
    public static class ResourceBean implements Serializable {
        private static final long serialVersionUID = 1L;
        private List<Metric> metrics;

    }

    @Getter
    @Setter
    public static class Metric implements Serializable {
        private static final long serialVersionUID = 1L;
        private String value;
        // 指标名称
        private String name;
        // 指标编码
        private String code;
        // 指标变量名
        private String variable;
        // 指标单位
        private String unit;
    }

}
